package com.liqi.statistics.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * @Author: lgh
 * @Date: 2022-11-05
 * @Description: 
 */
/**
    * 设备服务时间表
    */
@ApiModel(value="com-liqi-statistics-domain-DvServiceTime")
@Data
@TableName(value = "dv_service_time")
public class DvServiceTime {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Long id;

    /**
     * 中间件生成的唯一id
     */
    @TableField(value = "device_id")
    @ApiModelProperty(value="中间件生成的唯一id")
    private String deviceId;

    /**
     * 统计时间
     */
    @TableField(value = "date")
    @ApiModelProperty(value="统计时间")
    private Date date;

    /**
     * 服务时长，秒数单位
     */
    @TableField(value = "time")
    @ApiModelProperty(value="服务时长，秒数单位")
    private Integer time;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value="更新时间")
    private Date updateTime;
}